Page({
  data:{
    comboData:[   //推荐套餐数据
      {
        id:'',
        combo:"combo1",
        price:"price1",
        hospital:"hospital"
      },
      {
        id:'',
        combo:"combo2",
        price:"price2",
        hospital:"hospital2"
      },
      {
        id:'',
        combo:"combo3",
        price:"price3",
        hospital:"hospital3"
      },
      {
        id:'',
        combo:"combo4",
        price:"price4",
        hospital:"hospital4"
      },
    ]
  },

  //跳转体检预约界面
  clickReservation(){
    wx.navigateTo({
      url: '/pages/combo/combo',
    })
  },

 //跳转报告查询界面
  clickReport(){
    wx.navigateTo({
      url: '/pages/report/report',
    })
  },

   //跳转体检项目界面
  clickProject(){
    wx.navigateTo({
      url: '/pages/project/project',
    })
  },

   //跳转体检注意事项
   clickNotice(){
    wx.navigateTo({
      url: '/pages/notice/notice',
    })
  },

  //查看套餐
  checkCombo(e)
  {
    var index=e.currentTarget.id;
    console.log(index)   //输出点击的下标 

    wx.navigateTo({
      url: '/pages/comboInformation/comboInformation?id='+this.data.comboData[index].id
    })
  }
})
